<style>
    .price {
        margin-bottom: 5px;
        display: block;
        float: left;
        width: 100%;
    }

    .price i {
        font-size: 30px;
        cursor: pointer
    }

    .layui-input-block input {
        padding-left: 10px;
        height: 38px;
        margin-right: 5px;
        line-height: 38px;
        line-height: 36px \9;
        border: 1px solid #e6e6e6;
        background-color: #fff;
        border-radius: 2px;
    }</style>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form class="layui-form" action="<?=url('express/add');?>">
                <div class="layui-form-item">
                    <label class="layui-form-label">快递公司</label>
                    <div class="layui-input-block">
                        <input type="text" name="name" value="" required lay-verify="required" placeholder="请输入快递公司" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">编码</label>
                    <div class="layui-input-block">
                        <input type="text" name="kuaidi_no" value="" required lay-verify="required" placeholder="请输入快递公司编码" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-block">
                        <select name="status" required lay-verify="required">
                            <?php foreach(c("type.status") as $k => $v):?>
                                <option value="<?=$k?>"><?=$v?></option>
                            <?php endforeach;?>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="myform">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script>
    layui.use(['form', 'upload'], function () {
        var $ = layui.$
            , upload = layui.upload
            , form = layui.form;
        form.render();
        var ue = UE.getEditor('container');
    });
</script>
